package com.example.librarymanagementproject2.service.enums;

/**
 * @EnumName BookEnum
 * @Description TODO
 * @Author Kx
 * @Date 2025/10/28 15:07
 * @Version 1.0
 */
public enum BookEnum {
    BOOK_STOCK_PREFIX("book:stock:");

    /**
     * 存储图书库存的缓存前缀
     */
    private String prefix;

    BookEnum(String prefix) {
        this.prefix = prefix;
    }

    public String value() {
        return prefix;
    }
}
